class KhhListEntity {
  late int id;
  late String name;
  String? icon;

  KhhListEntity({required this.id, required this.name, this.icon});

  KhhListEntity.fromJson(Map<String, dynamic> json) {
     id = json['id'];
    name = json['name'];
    icon = json['icon'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['id'] = this.id;
    data['name'] = this.name;
    data['icon'] = this.icon;
    return data;
  }
}
